const div = document.createElement("div");
div.innerText = "ts代码实现的dom元素操作";
document.body.appendChild(div);
